<?php /* Smarty version Smarty-3.1.13, created on 2013-06-17 01:27:08
         compiled from "/var/www/html/insite/templates/en/import_newsletter_users/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:66626947451bdf139ae2b48-11401336%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '242b5d3507432b7728915ca8167cbb6e68af3593' => 
    array (
      0 => '/var/www/html/insite/templates/en/import_newsletter_users/main.tpl',
      1 => 1371403625,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '66626947451bdf139ae2b48-11401336',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51bdf139b90070_67299567',
  'variables' => 
  array (
    'msg' => 0,
    'action' => 0,
    'arrMsg' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51bdf139b90070_67299567')) {function content_51bdf139b90070_67299567($_smarty_tpl) {?><!-- Content Area -->

<div id="content"> 
  
  <!-- Component Title -->
  <div class="pagetitle icon-48-module">
    <h2>Import: Newsletter Users</h2>
  </div>
  
  <!-- System Messages -->
  
<div id="system-message-container">
<?php if ($_smarty_tpl->tpl_vars['msg']->value){?>
<dl id="system-message">
<dt class="message">Message</dt>
<dd class="message message">
	<ul>
		<li><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</li>
	</ul>
</dd>
</dl>
<?php }?>
</div>

  
  <!-- Sub Menu Navigation -->
  <div class="subheader">
    <h3 class="element-invisible">Sub Menu</h3>
    <div id="no-submenu"></div>
  </div>

<script>
 function checkFile() 
 {
	  var s = document.getElementById('file_source'); 
		if(null != s && '' == s.value) {
			alert('Define file name'); 
			s.focus(); 
			return false;
		}
		return true;
 }
</script> 

  
  <!-- Beginning of Actual Content -->
  <div id="element-box">
    <p id="skiptargetholder"><a id="skiptarget" class="skip" tabindex="-1"></a></p>
      <form name="frmAdmin" action="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
" method="post" enctype="multipart/form-data" onSubmit="return checkFile();">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
          <?php if ($_smarty_tpl->tpl_vars['arrMsg']->value){?>
            <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['arrMsg']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            <div style="color:#F00;"><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</div>
            <?php } ?>
          <?php }?>
          <tr>
            <td>
              <table cellpadding="5" cellspacing="5" width="98%" border="0">
                <tr>
                  <td width="20%">Source Excel file to import:</td>
                  <td><input type="file" name="file_source" id="file_source" ></td>          
                  <td align="right"></td>
                </tr>
                <tr>
                  <td></td>
                  <td><input type="Submit" name="Go" value="Import it" class="button_class"></td>          
                  <td align="right"></td>
                </tr>
              </table>
           </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>          
      
    </form>    
    <div class="clr"></div>
  </div>
  <!-- end of element-box -->
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content -->

</div>
<?php }} ?>